package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 tb_car_scrap
 * 
 * @author ruoyi
 * @date 2020-06-27
 */
public class TbCarScrap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报废id */
    private Long scrapId;

    /** 入库表外键 */
    @Excel(name = "入库表外键")
    private Long putId;

    /** 报废日期 */
    @Excel(name = "报废日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scrapDate;

    /** 回收统一信用代码 */
    @Excel(name = "回收统一信用代码")
    private String recycleCrditCode;

    public void setScrapId(Long scrapId) 
    {
        this.scrapId = scrapId;
    }

    public Long getScrapId() 
    {
        return scrapId;
    }
    public void setPutId(Long putId) 
    {
        this.putId = putId;
    }

    public Long getPutId() 
    {
        return putId;
    }
    public void setScrapDate(Date scrapDate) 
    {
        this.scrapDate = scrapDate;
    }

    public Date getScrapDate() 
    {
        return scrapDate;
    }
    public void setRecycleCrditCode(String recycleCrditCode) 
    {
        this.recycleCrditCode = recycleCrditCode;
    }

    public String getRecycleCrditCode() 
    {
        return recycleCrditCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scrapId", getScrapId())
            .append("putId", getPutId())
            .append("scrapDate", getScrapDate())
            .append("recycleCrditCode", getRecycleCrditCode())
            .toString();
    }
}
